package top.dancun.eascourse.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import top.dancun.eascourse.entity.ClassScheduleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import top.dancun.eascourse.entity.StudentEntity;

import java.util.List;

/**
 * 课表
 * 
 * @author dancun
 * @email message@dancun.top
 * @date 2022-10-22 17:26:22
 */
@Mapper
public interface ClassScheduleDao extends BaseMapper<ClassScheduleEntity> {
    public List<ClassScheduleEntity> getUserCurriculum(@Param(Constants.WRAPPER) Wrapper wrapper);

    public IPage<ClassScheduleEntity> getMyCourse(
            @Param(Constants.WRAPPER) Wrapper wrapper,
            @Param("page")IPage page);


    public List<ClassScheduleEntity> getMyCourseAndStuC(
            @Param(Constants.WRAPPER) Wrapper wrapper);
}
